package com.yxq.mdt.app.modules.order.bean;

import java.util.List;

/**
 * @author L
 * @time 2019-10-31
 * @describe 商品直接购买提交参数$
 */
public class OrderSubmitGoodsBean {

    /**
     * mch_id : 0
     * goods_list : [{"goods_id":"59","num":1,"attr":[{"attr_group_id":2,"attr_group_name":"颜色","attr_id":3,"attr_name":"白色"}]}]
     */

    private int mch_id;
    private List<GoodsListBean> goods_list;

    public int getMch_id() {
        return mch_id;
    }

    public void setMch_id(int mch_id) {
        this.mch_id = mch_id;
    }

    public List<GoodsListBean> getGoods_list() {
        return goods_list;
    }

    public void setGoods_list(List<GoodsListBean> goods_list) {
        this.goods_list = goods_list;
    }

    public static class GoodsListBean {
        /**
         * goods_id : 59
         * num : 1
         * attr : [{"attr_group_id":2,"attr_group_name":"颜色","attr_id":3,"attr_name":"白色"}]
         */

        private String goods_id;
        private int num;
        private List<AttrBean> attr;

        public String getGoods_id() {
            return goods_id;
        }

        public void setGoods_id(String goods_id) {
            this.goods_id = goods_id;
        }

        public int getNum() {
            return num;
        }

        public void setNum(int num) {
            this.num = num;
        }

        public List<AttrBean> getAttr() {
            return attr;
        }

        public void setAttr(List<AttrBean> attr) {
            this.attr = attr;
        }

        public static class AttrBean {
            /**
             * attr_group_id : 2
             * attr_group_name : 颜色
             * attr_id : 3
             * attr_name : 白色
             */

            private int attr_group_id;
            private String attr_group_name;
            private int attr_id;
            private String attr_name;

            public int getAttr_group_id() {
                return attr_group_id;
            }

            public void setAttr_group_id(int attr_group_id) {
                this.attr_group_id = attr_group_id;
            }

            public String getAttr_group_name() {
                return attr_group_name;
            }

            public void setAttr_group_name(String attr_group_name) {
                this.attr_group_name = attr_group_name;
            }

            public int getAttr_id() {
                return attr_id;
            }

            public void setAttr_id(int attr_id) {
                this.attr_id = attr_id;
            }

            public String getAttr_name() {
                return attr_name;
            }

            public void setAttr_name(String attr_name) {
                this.attr_name = attr_name;
            }
        }
    }
}
